package com.example.park_management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 
 * @TableName processflow
 */
@TableName(value ="processflow")
public class Processflow_zzc implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer processid;

    /**
     * 
     */
    private String processname;

    /**
     * 
     */
    private String time;

    /**
     * 
     */
    private String status;

    /**
     * 
     */
    private String reason;

    /**
     * 
     */
    private Integer userid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getProcessid() {
        return processid;
    }

    /**
     * 
     */
    public void setProcessid(Integer processid) {
        this.processid = processid;
    }

    /**
     * 
     */
    public String getProcessname() {
        return processname;
    }

    /**
     * 
     */
    public void setProcessname(String processname) {
        this.processname = processname;
    }

    /**
     * 
     */
    public String getTime() {
        return time;
    }

    /**
     * 
     */
    public void setTime(String time) {
        this.time = time;
    }

    /**
     * 
     */
    public String getStatus() {
        return status;
    }

    /**
     * 
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 
     */
    public String getReason() {
        return reason;
    }

    /**
     * 
     */
    public void setReason(String reason) {
        this.reason = reason;
    }

    /**
     * 
     */
    public Integer getUserid() {
        return userid;
    }

    /**
     * 
     */
    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Processflow_zzc other = (Processflow_zzc) that;
        return (this.getProcessid() == null ? other.getProcessid() == null : this.getProcessid().equals(other.getProcessid()))
            && (this.getProcessname() == null ? other.getProcessname() == null : this.getProcessname().equals(other.getProcessname()))
            && (this.getTime() == null ? other.getTime() == null : this.getTime().equals(other.getTime()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getReason() == null ? other.getReason() == null : this.getReason().equals(other.getReason()))
            && (this.getUserid() == null ? other.getUserid() == null : this.getUserid().equals(other.getUserid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getProcessid() == null) ? 0 : getProcessid().hashCode());
        result = prime * result + ((getProcessname() == null) ? 0 : getProcessname().hashCode());
        result = prime * result + ((getTime() == null) ? 0 : getTime().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getReason() == null) ? 0 : getReason().hashCode());
        result = prime * result + ((getUserid() == null) ? 0 : getUserid().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", processid=").append(processid);
        sb.append(", processname=").append(processname);
        sb.append(", time=").append(time);
        sb.append(", status=").append(status);
        sb.append(", reason=").append(reason);
        sb.append(", userid=").append(userid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}